<script setup lang="ts">
import { useUserStore } from './stores/user'
import { useRouter } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue'

const userStore = useUserStore()
const router = useRouter()

const logout = async () => {
  userStore.logout()
  await router.push('/login')
}
</script>

<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<style scoped>

</style>
